package name.fowler.refactoring.simplestore;

public class MovieRegular extends AbstractMovie {

  private double coef = 1.5;

  public MovieRegular(String title) {
    super(title);
  }

  @Override
  public double calcAmount(int rentalDays) {
    return (rentalDays - 2) * coef;
  }
}
